@mixin flex-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@mixin setPadding($num){
  padding: $num;
  box-sizing: border-box;
}

.QuestionCard{
  background-color: #fff;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
  &.ispublished{
    background-color: rgba(144, 238, 144, 0.438);
  }
  .head{
    @include setPadding(10px);
    @include flex-row;
    padding: 10px 10px;
    .left{
      font-weight: bold;
      font-size: 16px;
    }
    .right{
      @include flex-row;
      >div{
        // margin: 0 2px;
        font-weight: bold;
      }
    }
  }
  .middle{
    @include setPadding(10px);
    @include flex-row;
    .left{
      @include flex-row;
      >button{
        margin: 0 2px;
      }
    }
    .right{
      @include flex-row;
      >button{
        margin: 0 2px;
      }
    }
  }
  
}
  